<%-- 
    Document   : selectCourse
    Created on : Jan 8, 2012, 3:51:25 PM
    Author     : Vinesh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Course Catalog</title>
    </head>
    <body>
        <h1>Course Catalog</h1>
        <h2>Select a Course:</h2>
        <p>
        <c:forEach items="${courses}" var="current">
            <A c:out HREF=  "CourseManager?selectedCourse=${current}">${current}</A>
            <br>
        </c:forEach>
        </p>
            <%session.setAttribute("courseManager", "viewCourse");%>
            <A HREF="Menu?redirection=back">Back</A>
    </body>
</html>
